home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <html><head><title>ConvertToURL Function [Runtime]</title><meta name="filename" content="text/sbasic/common/03120312"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
-
- p.P1{
- }
- p.P2{
- }
- span.T1{
- font-weight:bold;}
- </style></head><body>
-
-
- <help:to-be-embedded Eid="converttourl" xmlns:help="http://openoffice.org/2000/help">
- <p class="Head1"><help:link Id="68589">ConvertToURL Function [Runtime]</help:link></p>
- <p class="Paragraph">Converts a system file name to a file URL.</p>
- </help:to-be-embedded>
- <p class="Paragraph"><span class="T1">Syntax</span>:</p>
- <p class="Paragraph">ConvertToURL(filename) <help:key-word value="ConvertToURL" tag="kw68589_1" xmlns:help="http://openoffice.org/2000/help"/></p>
- <p class="Paragraph"><span class="T1">Return value</span>:</p>
- <p class="Paragraph">String</p>
- <p class="Paragraph"><span class="T1">Parameter</span>:</p>
- <p class="Paragraph">Filename: a file name as string.</p>
- <p class="P2">Example:</p>
- <p class="PropText">systemFile$ = "c:\folder\mytext.txt"</p>
- <p class="PropText">url$ = ConvertToURL( systemFile$ )</p>
- <p class="PropText">print url$</p>
- <p class="PropText"/>
- <p class="PropText">systemFileAgain$ = ConvertFromURL( url$ )</p>
- <p class="PropText">print systemFileAgain$</p>
- <p class="PropText"/>
- </body></html>